package cn.lixin.hrm.cllient;


import cn.lixin.hrm.util.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = "system-server",fallbackFactory = SystemFallBackFactory.class)
public interface SystemFeignClient {
    @PostMapping("/employee/userinfo/{username}")
    AjaxResult getUserInfo(@PathVariable("username") String username);
}
